package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.BCompanyUser;
import com.ruoyi.system.service.BCompanyUserService;
import com.ruoyi.system.mapper.BCompanyUserMapper;
import org.springframework.stereotype.Service;

/**
* @author yangxingze
* @description 针对表【b_company_user(药企医生关联表)】的数据库操作Service实现
* @createDate 2024-12-28 00:45:04
*/
@Service
public class BCompanyUserServiceImpl extends ServiceImpl<BCompanyUserMapper, BCompanyUser>
    implements BCompanyUserService{

    /**
     * 根据药企Id删除关联表记录
     * @param companyId
     */
    @Override
    public void deleteByCompanyId(Long companyId) {
        baseMapper.deleteByCompanyId(companyId);
    }
}




